640d0d54873572aa4a2c7829f78a5f942e882c61,src-modules/org/opencms/gwt/client/util/CmsPositionBean.java,CmsPositionBean,getInnerDimensions,#Element#,151
Before Change
left = left < wLeft ? left : wLeft;
int wHeight = child.getOffsetHeight();
height = height > (wTop + wHeight - top) ? height : (wTop + wHeight - top);
int wWidth = child.getOffsetWidth();
width = width > (wLeft + wWidth - left) ? width : (wLeft + wWidth - left);
}
}
After Change
left = left < wLeft ? left : wLeft;
int wBottom = wTop + child.getOffsetHeight();
bottom = bottom > wBottom ? bottom : wBottom;
int wRight = wLeft + child.getOffsetWidth();
right = right > wRight ? right : wRight;
}
}
child = child.getNextSiblingElement();
}
if (!first) {
CmsPositionBean result = new CmsPositionBean();
result.setHeight(bottom - top);
result.setWidth(right - left);
result.setTop(top);
result.setLeft(left);
return result;